label: Fix mnemonic activation
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 May 2021 14:23:08 +0000 (10:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 May 2021 15:19:40 +0000 (11:19 -0400)
commit052917a67d7cd224c0a0204fee080737de653448
treef6ee885ab38671117ad8dc1e3c01a9351249e5fc
parent226edf1f917deb1efc6460feffd5b1d3cfafe1fc
label: Fix mnemonic activation

The intention of the code is to find a focusable ancestor,
so it needs to look at the focusable property, not at
can-focus. This is a change from GTK 3, where can-focus
was the correct property to look at.

Fixes: #3965
gtk/gtklabel.c